package com.lzh.yupao.model.domain;

import java.util.Date;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 队伍(Team)表实体类
 *
 * @author makejava
 * @since 2023-05-17 15:15:05
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("team")
public class Team implements Serializable {
    private static final long serialVersionUID = 1865952344325523234L;
    //id@TableId
    private Long id;
    //队伍名称
    private String name;
    //描述
    private String description;
    //最大人数
    private Integer maxNum;
    //过期时间
    private Date expireTime;
    //用户id
    private Long userId;
    //密码
    private String password;
    //0 - 公开  1 - 私有  2 - 加密
    private Integer status;
    //创建时间
    private Date createTime;
    //更新时间
    private Date updateTime;
    //是否删除
    @TableLogic
    private Integer isDelete;
}

